package com.ld.data.sysenum;

public enum ResultResponseEnum {

    // 枚举列表：
    SUCCESS("0","成功"),
    FAIL("999","失败"),
    NOT_FOUND("404","未找资资源"),
    SYS_EXCEPTION("500","系统异常"),

    ;

    // 枚举内部变量，msg\code.
    private String code;
    private String message;

    ResultResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
